package com.lzm.ydpt.entity;

import org.litepal.crud.LitePalSupport;

/**
 * 微课堂的Db
 */
public class RoomDb extends LitePalSupport {
    // 5 咨询 12 系统 13 通知 27 微课 28.小安咨询
    private int messageType; // 消息类型

    private int messageCount;// 消息数量

    private String consumer_id;// 用户的id
    private String type_id; // 微课堂是微课id或者是医生的id，以及是chatId

    public RoomDb(int messageType, int messageCount, String consumer_id, String type_id) {
        this.messageType = messageType;
        this.messageCount = messageCount;
        this.consumer_id = consumer_id;
        this.type_id = type_id;
    }

    public int getMessageType() {
        return messageType;
    }

    public void setMessageType(int messageType) {
        this.messageType = messageType;
    }

    public int getMessageCount() {
        return messageCount;
    }

    public void setMessageCount(int messageCount) {
        this.messageCount = messageCount;
    }

    public String getConsumer_id() {
        return consumer_id;
    }

    public void setConsumer_id(String consumer_id) {
        this.consumer_id = consumer_id;
    }

    public String getType_id() {
        return type_id;
    }

    public void setType_id(String type_id) {
        this.type_id = type_id;
    }

    @Override
    public String toString() {
        return "LectureRoomDb{" +
                "messageType=" + messageType +
                ", messageCount=" + messageCount +
                ", consumer_id='" + consumer_id + '\'' +
                ", type_id='" + type_id + '\'' +
                '}';
    }
}
